<form class="form form-horizontal" id="form" method="post" action="{:url('edit_class')}">
						
	<input type="hidden" name="id" value="{$vo.id ?? ''}">
	<div class="row cl">
	    <label class="form-label col-xs-1 col-sm-1"><span class="c-red">*</span>分类所属：</label>
	    <div class="formControls col-xs-3 col-sm-3">
	        <span class="btn btn-success">
				{switch name="$Request.param.cid"}
				{case value="1"}
				    劳务公司
				{/case}
				{case value="2"}
				    劳务分组
				{/case}
				{case value="4"}
				    专业分包
				{/case}
				{/switch}
	        </span>
	    </div>
	    <div class="col-xs-3 col-sm-3"></div>
	</div>
    <div class="row cl">
        <label class="form-label col-xs-1 col-sm-1"><span class="c-red">*</span>分类名称：</label>
        <div class="formControls col-xs-3 col-sm-3">
            <input type="text" class="input-text" placeholder="公司名称" name="name" value="{$vo.name ?? ''}"  datatype="*" nullmsg="不能为空">
        </div>
        <div class="col-xs-3 col-sm-3"></div>
    </div>
    <div class="row cl mb-20">
    	<div class="col-sm-1">
    	</div>
        <div class="col-xs-1 col-sm-1">
        	<input type="hidden" name="pid" value="{$Request.param.cid}">
            <button type="submit" class="btn btn-primary radius">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
        </div>
    </div>
</form>